/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package session.TX;

import entity.OutletReservation;
import entity.Timeslot;
import Helper.Helper_OutletReservation;
import java.util.ArrayList;
import java.util.Calendar;
import java.util.List;

/**
 *
 * @author AdminNUS
 */
public interface CustomerReservationSBRemote {

    Long AddUnconfirmedReservation(String customerEmail, Long outletId, Calendar date, Integer tsTime, String areaName, String comments);

    boolean cancelReservation(Long reservationId);

    boolean checkQuota(String customerEmail, Long outletId, Calendar timeslot, String areaName, Integer tsTime);

    void confirmReservation(Long outletId, Long id);

    boolean editReservation(Long reservationId, Calendar timeslot, String areaName, String comments, Integer tsTime);

    ArrayList<Helper_OutletReservation> getCurrentReservationsByCustomer(String customer);

    List<OutletReservation> getReservationByCustomerOutlet(String email, Long outletId);

    List<OutletReservation> getReservationByDateOutlet(String dateStr, Long outletId);

    void recordShowUp(Long outletId, Long id);
    
}
